<?php
/**
 * Created by JetBrains PhpStorm.
 * User: jiangshuguang
 * Date: 14-5-23
 * Time: 下午9:35
 * To change this template use File | Settings | File Templates.
 */

function smarty_modifier_split_url($params) {
    $urlArr = explode("?",$params);
    return $urlArr[0];
}